package org.csu.onlineedubackend.dto;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 学生课程DTO，用于dashboard显示
 */
public class StudentCourseDTO {
    private Integer id;
    private Integer courseId;
    private String title;
    private String category;
    private String level;
    private String coverUrl;
    private String introMd;
    private BigDecimal price;
    private Float progress;
    private String status;
    private LocalDateTime lastLearnTime;
    private String nextLearningPoint;
    
    // 构造函数
    public StudentCourseDTO() {
    }
    
    // getter和setter方法
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    
    public Integer getCourseId() {
        return courseId;
    }
    
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }
    
    public String getTitle() {
        return title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getCategory() {
        return category;
    }
    
    public void setCategory(String category) {
        this.category = category;
    }
    
    public String getLevel() {
        return level;
    }
    
    public void setLevel(String level) {
        this.level = level;
    }
    
    public String getCoverUrl() {
        return coverUrl;
    }
    
    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }
    
    public String getIntroMd() {
        return introMd;
    }
    
    public void setIntroMd(String introMd) {
        this.introMd = introMd;
    }
    
    public BigDecimal getPrice() {
        return price;
    }
    
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    
    public Float getProgress() {
        return progress;
    }
    
    public void setProgress(Float progress) {
        this.progress = progress;
    }
    
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    public LocalDateTime getLastLearnTime() {
        return lastLearnTime;
    }
    
    public void setLastLearnTime(LocalDateTime lastLearnTime) {
        this.lastLearnTime = lastLearnTime;
    }
    
    public String getNextLearningPoint() {
        return nextLearningPoint;
    }
    
    public void setNextLearningPoint(String nextLearningPoint) {
        this.nextLearningPoint = nextLearningPoint;
    }
} 